<?php

/* @var $factory \Illuminate\Database\Eloquent\Factory */

use Faker\Generator as Faker;

$factory->define(App\Post::class, function (Faker $faker) {
    return [
        'user_id' => $faker->numberBetween(1, 5),
        'photos' => [
            $faker->imageUrl($width = 400, $height = 600, 'cats'),
            $faker->imageUrl($width=600, $height=400, 'nature'),
            $faker->imageUrl($width = 400, $height = 600, 'cats'),
        ],
        'content' => $faker->realText(300, 1),
        'status' => $faker->numberBetween(0, 1)
    ];
});
